<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
  <head>
    <title> dkptype </title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >
    <?php htmlhead(); ?>
  </head>
  
  <body>

    <div class="navTool menuborder">
      <div class="panel">
      <form method="post" action="?act=dkptype_add" name="myform" id="myform" class="myform">       
        <dl><dt>分类:</dt><dd>
          <select name="parent_id">
            <option value="0">┠</option>
            <?php treeSelect($data); ?>
          </select>
        </dd></dl>
        <dl>
          <dt>名称:</dt>
          <dd><input type="text" name="type_name" value="" /></dd>
        </dl>
        <dl><dt></dt>
          <dd><input type="submit" value="新增" class="btn" /></dd>
        </dl>      
      </form>
      </div>
    </div>
    
    <div class="panel">
      <div class="t">DKP类别</div>
      <?php treeShow($data); ?>
    </div>
    
    <script>
    <?php echo getTips(); ?>
    </script>
    
</body>
</html>